.editor-container {
  display: flex;
  min-height: 100vh;
  background-color: #f5f5f5;
}

/* 侧边栏样式 */
.sidebar {
  width: 240px;
  background-color: #fff;
  border-right: 1px solid #e8e8e8;
  padding: 24px 0;
}

.logo {
  display: flex;
  align-items: center;
  padding: 0 24px 24px;
  border-bottom: 1px solid #e8e8e8;
  margin-bottom: 16px;
}

.logo span {
  margin-left: 12px;
  font-size: 18px;
  font-weight: 600;
  color: #FF424D;
}

.nav-menu {
  padding: 0 16px;
}

.nav-item {
  display: block;
  padding: 12px 24px;
  color: #333;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s;
  border-radius: 4px;
  margin-bottom: 4px;
}

.nav-item:hover {
  background-color: #f5f5f5;
  color: #FF424D;
}

.nav-item.active {
  background-color: #fff0f0;
  color: #FF424D;
  font-weight: 500;
}

.new-badge {
  background-color: #e1f5fe;
  color: #0288d1;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 8px;
}

/* 主内容区样式 */
.main-content {
  flex: 1;
  padding: 24px;
  overflow-y: auto;
}

.page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.page-header h1 {
  font-size: 24px;
  margin: 0;
}

.editor-content {
  background-color: #fff;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* 创作者信息 */
.creator-info {
  display: flex;
  align-items: center;
  margin-bottom: 24px;
}

.creator-avatar img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.creator-name {
  margin-left: 12px;
  font-weight: 500;
}

.creator-badge {
  margin-left: 8px;
  background-color: #f0f7ff;
  color: #1890ff;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 12px;
}

/* 内容类型选择器 */
.content-type-tabs {
  margin-bottom: 24px;
}

/* 媒体上传区域 */
.media-upload-area {
  margin-bottom: 32px;
}

.upload-container {
  border: 2px dashed #e8e8e8;
  border-radius: 8px;
  padding: 40px 24px;
  text-align: center;
  transition: border-color 0.3s;
}

.upload-container:hover {
  border-color: #1890ff;
}

.upload-prompt {
  color: #666;
  margin-bottom: 24px;
}

.upload-prompt a {
  color: #1890ff;
  text-decoration: none;
}

.upload-prompt a:hover {
  text-decoration: underline;
}

/* 正文编辑区 */
.post-content-editor {
  margin-bottom: 32px;
}

.post-content-editor h3 {
  margin-bottom: 12px;
  font-size: 16px;
}

/* 附件区域 */
.attachments-section {
  margin-bottom: 32px;
}

.attachments-section h3 {
  margin-bottom: 12px;
  font-size: 16px;
}

/* 帖子设置 */
.post-settings {
  margin-bottom: 32px;
}

.setting-item {
  margin-bottom: 24px;
}

.setting-item h3 {
  margin-bottom: 12px;
  font-size: 16px;
}

.setting-description {
  color: #666;
  font-size: 14px;
  margin-bottom: 8px;
}

.setting-link {
  color: #1890ff;
  text-decoration: none;
  font-size: 14px;
}

.setting-link:hover {
  text-decoration: underline;
}

/* 底部导航 */
.bottom-navigation {
  display: flex;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-top: 16px;
  border-top: 1px solid #e8e8e8;
}

/* 预览选项 */
.preview-option {
  text-align: center;
  padding-top: 16px;
  border-top: 1px solid #e8e8e8;
}

.preview-option a {
  color: #1890ff;
  text-decoration: none;
}

.preview-option a:hover {
  text-decoration: underline;
}